﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserLogin_Developer_PersonalInfo : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            this.Button1_Click(null,null);
        }

    }

    protected void Button1_Click(object sender, EventArgs e)
    {
        Panel1.Visible = true;
        Panel2.Visible = false;
        Panel3.Visible = false;

        Button1.BackColor = Panel1.BackColor;
        Button2.BackColor = Color.White;
        Button3.BackColor = Color.White;
    }

    protected void Button2_Click(object sender, EventArgs e)
    {
        Panel1.Visible = false;
        Panel2.Visible = true;
        Panel3.Visible = false;

        Button1.BackColor = Color.White;
        Button2.BackColor = Panel2.BackColor;
        Button3.BackColor = Color.White;
    }

    protected void Button3_Click(object sender, EventArgs e)
    {
        Panel1.Visible = false;
        Panel2.Visible = false;
        Panel3.Visible = true;

        Button1.BackColor = Color.White;
        Button2.BackColor = Color.White;
        Button3.BackColor = Panel3.BackColor;
    }

    protected void btnChangeSkill_Click(object sender, EventArgs e)
    {
        btnChangeSkill.Visible = false;
        btnFinish.Visible = true;
        SkillPanel.Enabled = true;
    }

    protected void btnFinish_Click(object sender, EventArgs e)
    {
        btnChangeSkill.Visible = true;
        btnFinish.Visible = false;
        SkillPanel.Enabled = false;
    }

    protected void Button4_Click(object sender, EventArgs e)
    {
        Session.Clear();
        Response.Redirect("Login.aspx");
    }
}